package cn.ac.jaas.isc.vegetable.pbms.mapper;

import cn.ac.jaas.isc.vegetable.common.data.datascope.VegetableBaseMapper;
import cn.ac.jaas.isc.vegetable.pbms.api.entity.ArcDevice;
import org.apache.ibatis.annotations.Mapper;

/**
 * 装置表
 *
 * @author 张高昌
 * @date 2022-05-22 19:51:08
 */
@Mapper
public interface ArcDeviceMapper extends VegetableBaseMapper<ArcDevice> {

    /**
     * 新增装置
     *
     * @param arcDevice
     * @return
     */
    int insertDevice(ArcDevice arcDevice);

    /**
     * 根据id修改装置
     *
     * @param arcDevice
     * @return
     */
    int updateByPrimaryKey(ArcDevice arcDevice);

}
